package com.be.beadmin.service.entity;

import com.be.beadmin.common.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;


@Entity
@Getter
@Setter
@Table(name="sys_quartz_log")
public class QuartzLog extends BaseEntity {



    @Column(name = "JobName",columnDefinition = "VARCHAR(50) COMMENT '任务名称' ")
    private String jobName;

    @Column(name = "BeanName",columnDefinition = "VARCHAR(50) COMMENT 'Bean名称' ")
    private String beanName;

    @Column(name = "MethodName",columnDefinition = "VARCHAR(50) COMMENT '方法名称' ")
    private String methodName;


    @Column(name = "Params",columnDefinition = "VARCHAR(50) COMMENT '参数' ")
    private String params;


    @Column(name = "CronExpression",columnDefinition = "VARCHAR(50) COMMENT '正则表达式' ")
    private String cronExpression;


    @Column(name = "Success",columnDefinition = "BIT COMMENT '状态' ")
    private Boolean success;


    @Column(name = "ExceptionDetail",columnDefinition = "VARCHAR(50) COMMENT '异常详情' ")
    private String exceptionDetail;

    @Column(name = "Time",columnDefinition = "bigint COMMENT '执行耗时' ")
    private Long time;


}
